package com.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *     自定义模板
 * 
 * </p>
 * @author zyj
 * @since 2021-04-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_login")
public class UserLoginEntity implements Serializable {

private static final long serialVersionUID = 1L;

    /**
    * id
    */
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    /**
    * 登录名
    */
    @TableField("user_login_name")
    private String userLoginName;

    /**
    * 密码
    */
    @TableField("user_password")
    private String userPassword;

    /**
     * 用户类型 1：超级管理员
     */
    @TableField("user_type")
    private String userType;


}
